﻿<?php 
class Form_CatdesForm extends Zend_Form
{
	public function init()
	{
	
	
	}
	
	// tạo form với category id (cat_id);
	public function setForm($cat_id)
	{
		$catdesModel = new Model_Catdes();
		$catdesArray = $catdesModel->getCatdes($cat_id);

		$this->addElement('text','catdes_ten:',array(
				'required'   => true,
				'label'      => 'Tên Category Description:',
			));
		$this->addElement('submit','Tạo');

	}	
}